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AEJ,GAAAhC,EAAAI,GAAA,EAACkC,EAAAA,GAAQA,CAAAA,CAAChB,cAAe5C,MAE3B,GAAAsB,EAAAC,IAAA,EAACC,EAAAA,CAAKA,CAAAA,CAAC4B,QAAQ,WAAWO,aAAa,OAAOL,IAAI,gBAChD,GAAAhC,EAAAI,GAAA,EAACmC,KAAAA,CAAGd,UAAU,wBAAe,sBAC5B7C,EAAmBQ,GAAG,CAAC,GACtB,GAAAY,EAAAI,GAAA,EAACoC,EAAAA,GAAaA,CAAAA,CAEZjD,KAAMF,EAAIb,WAAW,CACrBuC,KAAM,4BAA4CvB,MAAA,CAAhBH,EAAIb,WAAW,CAAC,KAClDiE,aAAc,CAAC,aAAa,CAC5BC,OAAQrD,EAAIK,MAAM,CAAC,EAAE,CAACC,GAAG,CAAGN,EAAIK,MAAM,CAAC,EAAE,CAACC,GAAG,CAAG,GAChDqB,MAAO,CACLC,OAAQ,OACRC,KAAM,cACNC,mBAAoB,iBACtB,GATK9B,EAAIb,WAAW,QAehC","sources":["webpack://_N_E/?0f92","webpack://_N_E/./pages/beneficiary/crematorium/[companyname].tsx","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/beneficiary/crematorium/[companyname]\",\n function () {\n return require(\"private-next-pages/beneficiary/crematorium/[companyname].tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/beneficiary/crematorium/[companyname]\"])\n });\n }\n ","import {\n ATypeMainHead,\n ATypeCardView,\n FUNERAL_SIDO,\n BTypeBreadCrumb,\n FUNERAL_SIGUNGU,\n ATypeBeneficiaryCTA,\n colors,\n ATypeMap,\n} from \"goi_common\";\nimport { GetStaticPaths, GetStaticProps } from \"next\";\n\nimport React from \"react\";\nimport { ParlorDetailProps } from \"goi_common\";\nimport { parlorRegion } from \"@/constants/parlorRegion\";\nimport { Box, Stack } from \"@mui/material\";\nimport Head from \"next/head\";\n\nimport crematoriums from \"goi_common/src/constants/hwajang_detail.json\";\n\nconst { regionColor, targetSidos } = parlorRegion;\n\nexport const getStaticPaths: GetStaticPaths = async () => {\n const paths = crematoriums\n .filter((p) => targetSidos.includes(String(p.sido)))\n .map((crema) => ({\n params: {\n companyname: crema.companyname,\n },\n }));\n\n return {\n paths,\n fallback: false,\n };\n};\n\nexport const getStaticProps: GetStaticProps = async ({ params }) => {\n const companyname = params?.companyname;\n let crematorium;\n let district;\n let name = \"\";\n let description = \"\";\n\n if (companyname) {\n crematorium = crematoriums.find(\n (crema) => crema.companyname === companyname\n );\n if (crematorium) {\n name = crematorium.companyname;\n\n district = crematorium.address.slice(0, 2);\n if (crematorium.address.split(\" \")[0].length == 4)\n district = crematorium.address[0] + crematorium.address[2];\n\n description = `기초생활수급자 혜택 4가지 정리 및 안내. 혜택 적용 가능한 화장장 필요 서류, 상담. 기초생활수급자(의료, 생계)라면 위의 4가지 혜택을 받을 수 있습니다. 만약 이해하기 어려운 점이 있거나 더 자세하게 알고 싶은 것이 있다면, 바로 상담을 진행하세요.`;\n }\n }\n\n return {\n props: {\n defaultCrema: crematorium,\n pageDescription: description,\n pageKeywords: `${crematorium?.companyname}, ${crematorium?.companyname} 기초생활수급자, ${district} 기초생활수급자 장례, 장제비, 장제급여, 기초생활수급자 장례 얼마,`,\n pageOgTitle: `${crematorium?.companyname} 기초생활수급자 화장 비용 안내 | 대구경북장례정보포털`,\n pageOgDescription: description,\n pageOgImage: crematorium?.images[0].url || \"\",\n hasError: !crematorium,\n },\n };\n};\n\nexport default function companyname({\n defaultCrema,\n pageOgTitle,\n}: {\n defaultCrema: ParlorDetailProps;\n pageOgTitle: string;\n}) {\n const regionCrematoriums = crematoriums.filter((p) =>\n targetSidos.includes(String(p.sido))\n );\n const carouselItems = regionCrematoriums.map((res, i) => {\n return {\n \"@type\": \"ListItem\",\n name: `(비용안내) ${res.companyname}`,\n image: `${res.images[0].url}`,\n url: `https://dggb-portal.funeralblog.co.kr/beneficiary/crematorium/${res.companyname}/`,\n position: i + 1,\n };\n });\n\n const carouselRichSearch =\n regionCrematoriums.length > 6\n ? {\n \"@context\": \"http://schema.org\",\n \"@type\": \"ItemList\",\n itemListElement: carouselItems,\n }\n : {};\n return (\n \n \n {pageOgTitle}\n {regionCrematoriums.length > 5 && (\n \n )}\n \n\n \n \n\n \n 기초생활수급자는 화장 비용이 전액 감면됩니다.\n \n\n \n 필요 서류\n \n \n 화장 비용을 전액 감면 받기 위하여 기초생활수급자임을 증명하는 서류가\n 필요합니다.\n \n \n 필요 서류 : 국민기초생활보장수급자 증명서\n \n \n 수급자 증명서는 전국 시군구 또는 읍면동 주민센터에서 발급 가능하며,\n 무인민원발급기(본인에 한함)와 정부24 웹사이트에서 또한 발급\n 가능합니다.\n \n \n \n\n \n \n \n\n \n \n \n \n

대구 · 경북 지역 화장장

\n {regionCrematoriums.map((res) => (\n \n ))}\n
\n \n );\n}\n"],"names":["window","__NEXT_P","push","__webpack_require__","regionColor","targetSidos","parlorRegion","companyname","param","defaultCrema","pageOgTitle","regionCrematoriums","crematoriums","filter","includes","String","p","sido","carouselItems","map","res","i","name","concat","image","images","url","position","carouselRichSearch","length","itemListElement","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Stack","Head","jsx","title","script","type","dangerouslySetInnerHTML","__html","JSON","stringify","BTypeBreadCrumb","firstItem","text","href","event","domain","path","trigger_and_target","goiHomeEvent","ATypeMainHead","defaultParlor","managed_type","address","className","style","background","colors","gray50","padding","margin","gap","Box","ATypeBeneficiaryCTA","mainColor","c100","marginBottom","ATypeMap","h3","ATypeCardView","descriptions","imgSrc"],"sourceRoot":""}